package com.rightsidetech.system.dtos.request;

import com.rightsidetech.commom.base.TimeQueryRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

/**
 * sys_battery_check
 * @author 
 */
@Data
public class BatteryCheckReq extends TimeQueryRequest implements Serializable {

    @ApiModelProperty("门店id")
    private Long storeId;

    @ApiModelProperty("代理商id")
    private Long agentId;

    @ApiModelProperty("质保期 1换新 2换专 3换维")
    @Range(min = 1,max = 3,message = "质保期参数错误")
    private Byte warranty;

    @ApiModelProperty("检测结果 1电池正常 2可以更换")
    @Range(min = 1,max = 2,message = "检测结果参数错误")
    private Byte checkResult;

    @ApiModelProperty("状态 0待处理 1已完成 ")
    @Range(min = 0,max = 1,message = "状态参数错误")
    private Byte status;

    @ApiModelProperty("0提交时间 1检测时间 2处理时间")
    private Byte timeType;

    @ApiModelProperty(hidden = true)
    private Long areaId;
}
